package com.mc.bean;

/**
 * @author zl
 * @version 1.0
 * @Description 评委实体类
 * @date 2023/2/11 11:49
 */
public class Jury {

    /**
     * 评委编号
     */
    private int juryid;

    /**
     * 评委名称
     */
    private String juryname;

    /**
     * 评委电话
     */
    private String jurytel;

    /**
     * 评委密码
     */
    private String jurypassword;

    /**
     * 评委年龄
     */
    private int juryage;

    /**
     * 评委性别
     */
    private String jurysex;

    /**
     * 评委头像地址
     */
    private String juryheadurl;

    /**
     * 角色编号
     */
    private int rid;


    @Override
    public String toString() {
        return "Jury{" +
                "juryid=" + juryid +
                ", juryname='" + juryname + '\'' +
                ", jurytel='" + jurytel + '\'' +
                ", jurypassword='" + jurypassword + '\'' +
                ", juryage=" + juryage +
                ", jurysex='" + jurysex + '\'' +
                ", juryheadurl='" + juryheadurl + '\'' +
                ", rid=" + rid +
                '}';
    }

    public Jury(String juryname, String jurytel, String jurypassword, int juryage, String jurysex, String juryheadurl, int rid) {
        this.juryname = juryname;
        this.jurytel = jurytel;
        this.jurypassword = jurypassword;
        this.juryage = juryage;
        this.jurysex = jurysex;
        this.juryheadurl = juryheadurl;
        this.rid = rid;
    }

    public Jury() {
    }

    public Jury(String juryname, String jurytel, String jurypassword, int juryage, String jurysex) {
        this.juryname = juryname;
        this.jurytel = jurytel;
        this.jurypassword = jurypassword;
        this.juryage = juryage;
        this.jurysex = jurysex;
        this.rid = 2;
    }

    public Jury(int juryid, String juryname, String jurytel, String jurypassword, int juryage, String jurysex, String juryheadurl, int rid) {
        this.juryid = juryid;
        this.juryname = juryname;
        this.jurytel = jurytel;
        this.jurypassword = jurypassword;
        this.juryage = juryage;
        this.jurysex = jurysex;
        this.juryheadurl = juryheadurl;
        this.rid = rid;
    }

    public int getJuryid() {
        return juryid;
    }

    public void setJuryid(int juryid) {
        this.juryid = juryid;
    }

    public String getJuryname() {
        return juryname;
    }

    public void setJuryname(String juryname) {
        this.juryname = juryname;
    }

    public String getJurytel() {
        return jurytel;
    }

    public void setJurytel(String jurytel) {
        this.jurytel = jurytel;
    }

    public String getJurypassword() {
        return jurypassword;
    }

    public void setJurypassword(String jurypassword) {
        this.jurypassword = jurypassword;
    }

    public int getJuryage() {
        return juryage;
    }

    public void setJuryage(int juryage) {
        this.juryage = juryage;
    }

    public String getJurysex() {
        return jurysex;
    }

    public void setJurysex(String jurysex) {
        this.jurysex = jurysex;
    }

    public String getJuryheadurl() {
        return juryheadurl;
    }

    public void setJuryheadurl(String juryheadurl) {
        this.juryheadurl = juryheadurl;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }
}
